package ioc.circular;

import org.springframework.beans.factory.FactoryBean;

public class CircularTestFactoryBean implements FactoryBean {
  private CircularTest circularTest;

  public CircularTest getCircularTest() {
    return circularTest;
  }

  public void setCircularTest(CircularTest circularTest) {
    this.circularTest = circularTest;
  }

  @Override
  public Object getObject() throws Exception {
    return circularTest;
  }

  @Override
  public Class getObjectType() {
    return null;
  }

  @Override
  public boolean isSingleton() {
    return false;
  }
}
